package org.gpswalker.sys.i18n;

import java.util.Enumeration;
import java.util.Hashtable;
import java.util.ResourceBundle;

public class ArticleStrings extends ResourceBundle {

    Hashtable<String, String> pairs;

    @Override
    public Enumeration<String> getKeys() {
        return pairs.keys();
    }

    @Override
    protected Object handleGetObject(String key) {
        if (pairs.containsKey(key)) {
            return pairs.get(key);
        }
        return "pairs don't contain " + key;
        // return key;

    }

    public ArticleStrings() {
        pairs = new Hashtable<String, String>();
        
        //General stuff
        pairs.put("read more", "read more");
 
    }

}
